package com.ruoyi.dormitory.service;

import java.util.List;
import com.ruoyi.dormitory.domain.Dormitory;

/**
 * 宿舍Service接口
 * 
 * @author ruoyi
 * @date 2023-04-26
 */
public interface IDormitoryService 
{
    /**
     * 查询宿舍
     * 
     * @param
     * @return 宿舍
     */
    public Dormitory selectDormitoryByDormitoryNumber(Integer dormitoryId);

    /**
     * 查询宿舍列表
     * 
     * @param dormitory 宿舍
     * @return 宿舍集合
     */
    public List<Dormitory> selectDormitoryList(Dormitory dormitory);

    /**
     * 新增宿舍
     * 
     * @param dormitory 宿舍
     * @return 结果
     */
    public int insertDormitory(Dormitory dormitory);

    /**
     * 修改宿舍
     * 
     * @param dormitory 宿舍
     * @return 结果
     */
    public int updateDormitory(Dormitory dormitory);

    /**
     * 批量删除宿舍
     * 
     * @param
     * @return 结果
     */
    public int deleteDormitoryByDormitoryNumbers(String dormitoryIds);

    /**
     * 删除宿舍信息
     * 
     * @param
     * @return 结果
     */
    public int deleteDormitoryByDormitoryNumber(Integer dormitoryId);
}
